﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Biblioteca.dao.classesDAO.equipamento;
using Biblioteca.dao.classesDAO.jogo;
using Biblioteca.dao.classesDAO.pessoa;

namespace Biblioteca.factory
{
    static class FactoryDAO
    {

        public static ClienteDAO getClienteDAO()
        {
            ClienteDAO clienteDAO = new ClienteDAO();
            //ClienteDAO.setEntityManager(manager);
            return clienteDAO;
        }


        public static FuncionarioDAO getFuncionarioDAO()
        {
            FuncionarioDAO funcionarioDAO = new FuncionarioDAO();
            //ClienteDAO.setEntityManager(manager);
            return funcionarioDAO;
        }


        public static ArmaDAO getArmaDAO()
        {
            ArmaDAO armaDAO = new ArmaDAO();
            //ClienteDAO.setEntityManager(manager);
            return armaDAO;
        }


        public static ColeteDAO getColeteDAO()
        {
            ColeteDAO coleteDAO = new ColeteDAO();
            //ClienteDAO.setEntityManager(manager);
            return coleteDAO;
        }


        public static CapaceteDAO getCapaceteDAO()
        {
            CapaceteDAO capaceteDAO = new CapaceteDAO();
            //ClienteDAO.setEntityManager(manager);
            return capaceteDAO;
        }


        public static CilindroDAO getCilindroDAO()
        {
            CilindroDAO cilindroDAO = new CilindroDAO();
            //ClienteDAO.setEntityManager(manager);
            return cilindroDAO;
        }


        public static CampoDAO getCampoDAO()
        {
            CampoDAO campoDAO = new CampoDAO();
            //ClienteDAO.setEntityManager(manager);
            return campoDAO;
        }


        public static PartidaDAO getPartidaDAO()
        {
            PartidaDAO partidaDAO = new PartidaDAO();
            //ClienteDAO.setEntityManager(manager);
            return partidaDAO;
        }


        public static ReservaDAO getReservaDAO()
        {
            ReservaDAO reservaDAO = new ReservaDAO();
            //ClienteDAO.setEntityManager(manager);
            return reservaDAO;
        }
    }
}
